<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>v-pre&v-clock&v-once</title>
    <script src="../assets/js/vue.js"></script>
</head>
<body>
    <h1>v-pre&v-clock&v-once</h1>
    <hr>
    <div id="app">
        <span v-pre>{{ this will not be compiled }}</span>
        <div v-cloak>渲染完成后才显示</div>
        <div v-once>{{message}}</div>
        <input type="text" v-model="message">
    </div>
</body>
<script>
    var app = new Vue({
        el:"#app",
        data:{ 
           message:"大家好"
        }
    })
</script>
</html>